package com.fudan.framework.utils;

public class StringUtils {

	public static String concat(Object...strs) {
		StringBuilder sb = new StringBuilder();
		for (Object string : strs) {
			sb.append(string);
		}
		return sb.toString();
	}
	
	public static String concatln(Object...strs) {
		StringBuilder sb = new StringBuilder();
		for (Object string : strs) {
			sb.append(string);
			sb.append("\r\n");
		}
		return sb.toString();
	}

	public static String firstUpper(String str) {
		return concat(str.substring(0, 1).toUpperCase(),str.substring(1));
	}
}
